<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			function Student(id,name){
				this.id=id;
				this.name=name;
				this.sayHi=function(){
					console.log('hi')
				}}
			Student.prototype.introduce=function(){
				console.log('Good Moring')
			}
			
			var s1=new Student(1,'zhangsan')
			var s2=new Student(2,'lisi')
		console.log(s1.sayHi==s2.sayHi);
		console.log(s1.introduce=s2.introduce);
		</script>
	</body>
</html>
